Skip to content

Conversation

@kacpermuda
Copy link
Contributor

Move OpenLineage methods from SqlExecuteQueryOperator to its base class: BaseSQLOperator. This way all the sql operators will have OL support, as the execution logic is mostly the same.

Apart from OL-related changes, I adjusted the error message in SQLColumnCheckOperator to include more information about failed checks, not only the name of metric that failed. Also saved some local information as instance attr in SQLColumnCheckOperator and BranchSQLOperator, so that we can access those in the OL listener later (will submit separate PR with that).


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@potiuk potiuk merged commit 29ace33 into apache:main Dec 1, 2025
84 checks passed
@potiuk
Copy link
Member

potiuk commented Dec 1, 2025

Nice! One move -> plenty of OL support added :)

@kacpermuda kacpermuda deleted the feat-ol-sql-check-operators branch December 2, 2025 07:17
RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Dec 3, 2025
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants